package service.impl;

import mapper.ScheduleMapper;
import model.Schedule;
import org.springframework.stereotype.Service;
import service.ScheduleService;

import javax.annotation.Resource;
import java.util.Date;
import java.util.List;

@Service
public class ScheduleServiceImpl implements ScheduleService {
    @Resource
    private ScheduleMapper mapper;
    @Override
    public List<Schedule> findScheduleByDepartmentIdAndInquiryTime(String departmentId, int sign) {
        return mapper.findScheduleByDepartmentIdAndInquiryTime(departmentId,sign);
    }
}
